Skip to content

feat: 마음 기록 조회 시 유저 정보 통째로 가져오도록 수정#145

Merged
Neibce merged 3 commits intomainfrom
be/feat/maum-log-uploader-name
Aug 18, 2025
Merged

feat: 마음 기록 조회 시 유저 정보 통째로 가져오도록 수정#145
Neibce merged 3 commits intomainfrom
be/feat/maum-log-uploader-name

Conversation

@Neibce
Copy link
Owner

@Neibce Neibce commented Aug 18, 2025

Summary by CodeRabbit

  • New Features
    • API 응답에서 업로더가 단일 식별자(UUID) 대신 사용자 정보 객체로 제공되어 프로필 관련 정보를 바로 확인할 수 있습니다.
  • Refactor
    • 데이터 전송 객체의 필드 타입을 정비하고 관련 로직을 일관되게 업데이트했습니다.

@coderabbitai
Copy link

coderabbitai bot commented Aug 18, 2025

Walkthrough

MaumLogDto의 uploader 타입을 UUID에서 UserInfo로 변경. of(...) 팩토리 메서드는 maumLog.getCreatedBy()로부터 UserInfo를 생성하여 설정. 관련 import 정리. DTO의 공개 시그니처가 변경됨.

Changes

Cohort / File(s) Summary
DTO 타입 변경
backend/ongi/src/main/java/ongi/maum_log/dto/MaumLogDto.java
uploader 필드를 UUID → UserInfo로 변경. of(...)에서 maumLog.getCreatedBy()로 새로운 UserInfo 생성 후 사용. import를 UserInfo 기반으로 수정. 공개 레코드 시그니처 변경.

Sequence Diagram(s)

sequenceDiagram
  participant Caller
  participant MaumLogDto
  participant MaumLog
  participant UserInfo

  Caller->>MaumLogDto: of(frontUrl, backUrl, maumLog)
  MaumLogDto->>MaumLog: getCreatedBy()
  MaumLog-->>MaumLogDto: createdBy(User)
  MaumLogDto->>UserInfo: new UserInfo(User)
  UserInfo-->>MaumLogDto: instance
  MaumLogDto-->>Caller: MaumLogDto(uploader=UserInfo, ...)
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

당근 펜 쥔 토끼가 깡총, DTO를 손봤지
UUID는 살짝 물러나고, UserInfo가 반짝이지
of가 불리면 척— 만든이 담아오고
로그의 얼굴이 좀 더 뚜렷해졌네
깡총깡총, 릴리즈로 달려간다! 🥕✨

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Free

💡 Knowledge Base configuration:

  • Jira integration is disabled
  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 247c0a8 and 100ef83.

📒 Files selected for processing (1)
  • backend/ongi/src/main/java/ongi/maum_log/dto/MaumLogDto.java (2 hunks)

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Neibce Neibce merged commit 873d081 into main Aug 18, 2025
4 checks passed
@Neibce Neibce deleted the be/feat/maum-log-uploader-name branch August 18, 2025 16:06
Neibce added a commit to 2025-PNU-SW-Hackathon/PNUSW-2025-OnGi-10 that referenced this pull request Aug 25, 2025
* feat: 마음 기록 조회 시 사용자 이름 같이 나오도록 수정

* feat: 마음 기록 조회 시 유저 정보 통째로 가져오도록 수정
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant